package com.hkccommunity.entity;

public class AnswerParent {

    private Long answerId;

    private Long problemId;
    private String answerContent;

    private Long createUser;
    private String createTime;

    private Integer delete;

    private Long like;

    @Override
    public String toString() {
        return "AnswerParent{" +
                "answerId=" + answerId +
                ", problemId=" + problemId +
                ", answerContent='" + answerContent + '\'' +
                ", createUser=" + createUser +
                ", createTime='" + createTime + '\'' +
                ", delete=" + delete +
                ", like=" + like +
                '}';
    }

    public AnswerParent() {
    }

    public AnswerParent(Long answerId, Long problemId, String answerContent, Long createUser, String createTime, Integer delete, Long like) {
        this.answerId = answerId;
        this.problemId = problemId;
        this.answerContent = answerContent;
        this.createUser = createUser;
        this.createTime = createTime;
        this.delete = delete;
        this.like = like;
    }

    public Long getAnswerId() {
        return answerId;
    }

    public void setAnswerId(Long answerId) {
        this.answerId = answerId;
    }

    public Long getProblemId() {
        return problemId;
    }

    public void setProblemId(Long problemId) {
        this.problemId = problemId;
    }

    public String getAnswerContent() {
        return answerContent;
    }

    public void setAnswerContent(String answerContent) {
        this.answerContent = answerContent;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Integer getDelete() {
        return delete;
    }

    public void setDelete(Integer delete) {
        this.delete = delete;
    }

    public Long getLike() {
        return like;
    }

    public void setLike(Long like) {
        this.like = like;
    }
}
